$OpenBSD: patch-gcc_go_go-lang_c,v 1.1.1.1 2016/09/04 16:20:18 pascal Exp $
--- gcc/go/go-lang.c.orig	Mon Feb  8 16:36:16 2016
+++ gcc/go/go-lang.c	Tue Aug 23 15:48:19 2016
@@ -528,6 +528,12 @@ go_localize_identifier (const char *ident)
   return identifier_to_locale (ident);
 }
 
+const char *
+fname_as_string(int pretty_p __attribute__((__unused__)))
+{
+	return NULL;
+}
+
 #undef LANG_HOOKS_NAME
 #undef LANG_HOOKS_INIT
 #undef LANG_HOOKS_OPTION_LANG_MASK
